import Vue from 'vue'
import App from './App.vue'
import router from './router'
import 'vant/lib/index.css'

import store from './store/index'


Vue.config.productionTip = false
import axios from 'axios'
Vue.prototype.$http = axios

/* 引入vant插件 */
import './vantui'

/* 全局过滤器   */
Vue.filter('filtermoney', val => {
        return '￥ ' + Number(val).toFixed(2) + ' 元'
    })
    /*  */

new Vue({
    render: h => h(App),
    router: router,
    store,
    beforeCreate() {
        Vue.prototype.$bus = this
    }
}).$mount('#app')